package com.terry;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateTools {

    public static String getTimeString() {
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sdf.format(date);
    }


}
